<div class="detectLogList " ng-app="detectLogList" ng-controller="detectLogListCtrl">
    <div class="query_area" style="margin-bottom: 10px">
        <h4>查询条件</h4>

        <form class="form form-inline">
            <!--<div class="form-group">-->
            <!--<label>上报ID</label>-->
            <!--<input type="text" class="form-control" ng-model="queryParams.id">-->
            <!--</div>-->
            <div class="form-group">
                <label>部门名称</label>
                <input type="text" class="form-control" ng-model="queryParams.deptName">
            </div>
            <div class="form-group">
                <label>人员名称</label>
                <input type="text" class="form-control" ng-model="queryParams.userName">
            </div>
            <div class="form-group">
                <label>人员编号</label>
                <input type="text" class="form-control" ng-model="queryParams.userCode">
            </div>
            <div class="form-group">
                <label>机器码</label>
                <input type="text" class="form-control" ng-model="queryParams.machineCode">
            </div>
            <div class="form-group" style="padding-right: 5px">
                <label>月份</label>
                <div  style="display: inline-block" class="input-append date form_datetime">
                    <input id="queryPeriod" type="text" readonly class="form-control" ng-model="queryParams.queryPeriod"/>
                    <span class="add-on" ng-click="queryParams.queryPeriod=''"><i class="icon-remove glyphicon glyphicon-remove"></i></span>
                </div>
            </div>
            <div class="form-group" style="float: right">
                <button class="btn btn-default" ng-click="queryDetectLogList()">查询</button>
            </div>
        </form>
    </div>
    <div class="query_result">
        <table class="table table-striped table-hover">
            <tr>
                <th>部门</th>
                <th>人员编号</th>
                <th>人员姓名</th>
                <th>机器码</th>
                <th>涉密文件总数</th>
                <th>涉密文件总大小</th>
                <th>未处理文件总数</th>
                <th>未处理文件总大小</th>
                <th>扫描时间</th>
                <th>上报时间</th>
                <th>操作</th>
            </tr>
            <tbody>
            <tr ng-repeat="record in resultValue.list">
                <td>{{record.dept_name}}</td>
                <td>{{record.code}}</td>
                <td>{{record.name}}</td>
                <td>{{record.machine_code}}</td>
                <td>{{record.scan_file_count}}</td>
                <td>{{record.scan_file_size_str}}</td>
                <td>{{record.report_file_count}}</td>
                <td>{{record.report_file_size_str}}</td>
                <td>{{record.scan_time}}</td>
                <td>{{record.report_time}}</td>
                <td><a ui-sref="home.content.detectLog.detectLogDetail({id:record.id})">详情</a></td>
            </tr>
            </tbody>
        </table>
        <pagination total-items="resultValue.totalSize" ng-model="queryParams.pageNum" max-size="10"
                    items-per-page="queryParams.pageSize" class="pagination-sm pull-right"
                    boundary-links="true" rotate="false"  ng-change="queryDetectLogList()"
                    previous-text="<" next-text=">" first-text="<<" last-text=">>" style="margin:10px 0;"></pagination>
    </div>
    <div class="clearfix"></div>
</div>